<h2 class="contentTitle">添加宝贝分类</h2>
<form action="<?php echo site_url('/public/aj_add_baobeisource.php');?>" method="post" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone)">
<div class="pageContent">
	<div class="pageFormContent" layoutH="97">
        <div class="unit">
            <label>来源中文名称：</label>
            <input type="hidden" name="id" value="<?php echo $source_info['id'];?>" class="required valid"/>
            <input type="text" name="zh_name" value="<?php echo $source_info['zh_name'];?>" size="25" class="required textInput valid">
            <span class="inputInfo">填写来源中文名称</span>
		</div>
        <div class="unit">
            <label>来源英文名称：</label>
            <input type="text" name="en_name" value="<?php echo $source_info['en_name'];?>" size="25" class="required textInput valid">
            <span class="inputInfo">填写来源英文名称</span>
        </div>
        <div class="unit">
            <label>来源显示样式：</label>
            <select class="combox" name="icon_css">
                <option value="icon-taobao" <?php if($source_info['icon_css'] == 'icon-taobao') echo 'selected=""';?>>icon-taobao</option>
                <option value="icon-tmall" <?php if($source_info['icon_css'] == 'icon-tmall') echo 'selected=""';?>>icon-tmall</option>
                <option value="icon-paipai" <?php if($source_info['icon_css'] == 'icon-paipai') echo 'selected=""';?>>icon-paipai</option>
                <option value="icon-mbaobao" <?php if($source_info['icon_css'] == 'icon-mbaobao') echo 'selected=""';?>>icon-mbaobao</option>
                <option value="icon-jingdong" <?php if($source_info['icon_css'] == 'icon-jingdong') echo 'selected=""';?>>icon-jingdong</option>
                <option value="icon-vancl" <?php if($source_info['icon_css'] == 'icon-vancl') echo 'selected=""';?>>icon-vancl</option>
                <option value="icon-paipai0" <?php if($source_info['icon_css'] == 'icon-paipai0') echo 'selected=""';?>>icon-paipai0</option>
            </select>
            <span class="inputInfo">是否显示来源显示样式</span>
        </div>
        <div class="unit">
            <label>是否显示：</label>
            <select class="combox" name="is_show">
                <option value="0" <?php if($source_info['is_show'] == 0) echo 'selected=""';?>>否</option>
                <option value="1" <?php if($source_info['is_show'] == 1) echo 'selected=""';?>>是</option>
            </select>
            <span class="inputInfo">是否宝贝来源</span>
		</div>
	</div>
	<div class="formBar">
		<ul>
			<li><div class="buttonActive"><div class="buttonContent"><button type="submit">确认</button></div></div></li>
			<li><div class="button"><div class="buttonContent"><button class="close" type="button">关闭</button></div></div></li>
		</ul>
	</div>
</div>
</form>